package com.chen.sys.openfeignapi;

import com.chen.core.model.CommonResponseBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "Cloud-System")
@RequestMapping("/cloud/system/param")
public interface SysFeignApi {

    @PostMapping(value = "/v1/getParameterById")
    CommonResponseBean<String> getParameterById();

    @PostMapping(value = "/v1/getDictById")
    CommonResponseBean<String> getDictById();
}